@import "~pc/styles/lib_var.less";
.importFile {
  height: 100%;
  margin-right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beforeUpload {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  span {
    width: 100%;
    height: 100%;
  }
  h2 {
    height: 20px;
    line-height: 20px;
    font-size: 15px;
    color: var(--firstLevelText);
    margin-top: 20px;
    margin-bottom: 8px;
  }
  h1 {
    height: 17px;
    font-size: 12px;
    line-height: 17px;
    color: var(--secondLevelText) !important;
    margin-bottom: 8px;
  }
  h1,
  h2,
  .fileInfo {
    font-weight: lighter;
    color: var(--firstLevelText);
  }
  .fileInfo {
    font-size: 15px;
    margin-top: 24px;
    text-align: left;
    width: 100%;
    .downloadLink {
      color: var(--primaryColor) !important;
    }
    a {
      color: var(--primaryColor) !important;
    }
  }
  :global {
    .ant-upload {
      height: 308px;
    }
    .ant-upload {
      margin: 0;
    }
    .ant-upload.ant-upload-drag {
      border-color: var(--shadowColor);
      &:hover {
        border-color: var(--shadowColor);
      }
    }
  }
}

.process {
  display: flex;
  flex-direction: column;
  align-items: center;
  .fileName {
    font-size: 16px;
    color: var(--firstLevelText);
    text-align: center;
    font-weight: lighter;
    margin-top: 30px;
    letter-spacing: 0.5px;
    max-width: 300px;
  }
  .cancelBtn {
    margin-top: 50px;
    font-size: 15px;
    color: var(--primaryColor);
    &:hover {
      cursor: pointer;
    }
  }
  :global {
    .ant-progress {
      .ant-progress-inner {
        width: 80px;
        height: 80px;
      }
      .ant-progress-text {
        font-size: 14px;
      }
    }
  }
}
